package com.demo.service;

import com.demo.entity.Secretary;
import com.demo.vo.SecretaryVo;

import java.util.List;

public interface ISecretaryService {
    Secretary queryUserByPhone(String phone);

    /**
     * 分页查询:关键字，手机号、字段升降序、每页显示大小，某一页
     * 默认进行每页15个显示
     *
     * @param user
     * @return
     */
    List<Secretary> queryByPage(SecretaryVo user);

    int queryCount(SecretaryVo user);

    int deleteByPrimaryKey(Integer id);

    int insert(Secretary record);

    int insertSelective(Secretary record);

    Secretary selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Secretary record);

    /**
     * 确认实际花费
     *
     * @param record
     * @return
     */
    Object confirm(Secretary record);

}
